<!doctype html>
<html xmlns="http://www.w3.org/1999/xhtml" id="html">
    <head>
        <title></title>
        <meta http-equiv="content-type" content="text/html; charset=utf-8" />
        <base href="<?= base_url(1); ?>" />
        <link type="text/css" href="css/main.css?v=<?= $config['version'] ?>" rel="stylesheet" />
    </head>
    <body>
        <?php include(VIEWPATH . 'common/main_header.php'); ?>
        <div class="datalist"><table id="flexigrid" style="display:none"></table></div>
        <script type="text/javascript">
            $(function() {
                $("#flexigrid").flexigrid($.extend(SG.flexOptions, {
                    url: '<?= site_url('logtrade/consignmentgoodssale/flexigrid') ?>',
                    colModel: [         
						{display: '<?= translate('LOGTRADE_ROLEID') ?>', name: 'role_id', width: '100', process: formatSearch},               
						{display: '<?= translate('LOGTRADE_PLATFORM_ID') ?>', name: 'platform_id', width: '100',hide:true},
                        {display: '<?= translate('LOGTRADE_DITCH_ID') ?>', name: 'ditch_id', width: '100',hide:true},
                        {display: '<?= translate('LOGTRADE_VERSION') ?>', name: 'version', width: '100',hide:true},
                        {display: '<?= translate('LOGTRADE_SERVER_ID') ?>', name: 'server_id', width: '100',hide:true}, 
                        {display: '<?= translate('LOGTRADE_ACCOUNT_ID') ?>', name: 'account_id', width: '100', process: formatSearch, hide:'true'},
                                                                       
                        {display: '<?= translate('LOGTRADE_IP_ADDRESS') ?>', name: 'ip_address', width: '100', process: formatSearch,hide:true},
                        {display: '<?= translate('LOGTRADE_ROLE_LEVEL') ?>', name: 'role_level', width: '100'},
                        {display: '<?= translate('LOGTRADE_PROFESSION_TYPE') ?>', name: 'profession_type', width: '100'},
                        
                        {display: '<?= translate('LOGTRADE_OBJECT_GUID') ?>', name: 'object_guid', width: '150', process: formatSearch},
                        {display: '<?= translate('LOGTRADE_OBJECT_ID') ?>', name: 'object_id', width: '250'},
                        {display: '<?= translate('LOGTRADE_OBJECT_TYPE') ?>', name: 'object_type', width: '100'},
                        {display: '<?= translate('LOGTRADE_NUMBER') ?>', name: 'object_number', width: '100'},                        
                        {display: '<?= translate('LOGTRADE_NEAR_PRICE') ?>', name: 'near_price', width: '100'},
                        {display: '<?= translate('LOGTRADE_SOLD_PRICE') ?>', name: 'sell_price', width: '100'},   
                        {display: '<?= translate('LOGTRADE_PRE_OBJECT_NUMBER') ?>', name: 'pre_object_number', width: '100'},                
                        {display: '<?= translate('LOGTRADE_AFTER_OBJECT_NUMBER') ?>', name: 'after_object_number', width: '100'},
                        {display: '<?= translate('LOGTRADE_IS_USED_COUPON') ?>', name: 'is_used_coupon', width: '100'},
                        {display: '<?= translate('LOGTRADE_FEE') ?>', name: 'fee', width: '100'},
                        {display: '<?= translate('LOGTRADE_OFF_TYPE') ?>', name: 'off_type', width: '100'},
                        {display: '<?= translate('LOGTRADE_SOLD_TIME') ?>', name: 'sold_time', width: '150'},
                        
                        {display: '<?= translate('LOGTRADE_OPERATION_TIME') ?>', name: 'operation_time', width: '150'},
                    ],
                  
		  			buttons: [ {separator: true},],
                }));
               
            });    
        </script>
    </body>
</html>